package com.huawei.hwCloudJs.d;

import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;

public class b {
    public static List<String> a(JSONArray jSONArray) {
        List<String> arrayList = new ArrayList();
        if (jSONArray != null) {
            int length = jSONArray.length();
            for (int i = 0; i < length; i++) {
                arrayList.add(jSONArray.optString(i));
            }
        }
        return arrayList;
    }
}
